package com.myexam.service;

import java.util.List;

import com.myexam.model.Subject;
import com.myexam.util.Page;
import com.myexam.util.PageResult;

public interface SubjectService {

	public boolean saveSubjcet(Subject subject);
	
	@SuppressWarnings("rawtypes")
	public PageResult querySubjectByPage(Page page);

	public Subject showSubjectParricular(int subjectID);

	public void updateSubject(Subject subject);

	public void deleteSubject(int subjectID);

	//@SuppressWarnings("rawtypes")
	//public PageResult likeQueryBySubjectTitle(Page page);

	public List<Subject> randomFindSubject(int number);

	public int accountResult(List<Integer> subjectIDs,List<String> studentAnsers);
}
